package com.lagou.service.impl;

import com.lagou.entity.StudentEntity;
import com.lagou.mapper.StudentMapper;
import com.lagou.service.StudentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class StudentServiceImpl implements StudentService {
    @Resource
    private StudentMapper studentMapper;

    @Override
    public List<StudentEntity> queryUsers() {
        return this.studentMapper.selectList(null);
    }
}
